package edu.xhu.utils.validator;

import edu.xhu.model.common.dtos.ResponseResult;
import edu.xhu.model.common.enums.AppHttpCodeEnum;

public class CodeValidator {
    public static boolean idValidator(ResponseResult<?> result) {
        return result.getCode().equals(AppHttpCodeEnum.SUCCESS.getCode());
    }
}
